<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../css/styletable.css" type="text/css"/>
</head>
<body>
<table style="width: 100%">
    <tr>
        <th width="10%">ID</th>
        <th width="30%">用户名</th>
        <th width="30%">密码</th>
        <th width="30%">登录时间</th>
    </tr>

    <c:forEach items="${users}" var="user">
        <tr>
            <td>${user.uid}</td>
            <td>${user.username}</td>
            <td>${user.password}</td>
            <td>${user.logindate}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
